package com.spark.lola.logistics.service;

import com.alibaba.fastjson.JSONObject;
import com.spark.lola.logistics.vo.ExpensesStatusVo;
import com.spark.lola.logistics.vo.OrderStatusVo;
import com.spark.lola.statistics.entity.StatisticsDriver;
import com.spark.lola.support.common.entity.ShiroUser;

import java.text.ParseException;
import java.util.List;

/**
 * @author: Zhi-peng wang
 * @date: 2020/05/19 13:45
 * 首页业务接口
 **/
public interface IndexService {

    // 获取数据总概统计
    StatisticsDriver findAllData(int findType, ShiroUser shiroUser) throws ParseException;

    /**
     * @description: 获取硬件数据
     * @param: null
     * @return:
     * @author: wzp
     * @date: 2020/5/19
     */
    JSONObject findHardwareData();

    /**
     * @description: 获取bi统计数据
     * @param: null
     * @return:
     * @author: wzp
     * @date: 2020/5/19
     */
    JSONObject findBiData(int findType, ShiroUser shiroUser) throws ParseException;

    /**
     * @description: 获取货运单状态数据
     * @param: null
     * @return:
     * @author: wzp
     * @date: 2020/5/19
     */
    OrderStatusVo findOrderStatusData();

    /**
     * @description: 获取货运支出单单状态数据
     * @param: null
     * @return:
     * @author: wzp
     * @date: 2020/5/19
     */
    ExpensesStatusVo findExpensesStatusData();

}
